import {Http, Response} from "@angular/http";
import {Injectable} from "@angular/core";
import {Faq} from "../entity/faq";
import {Observable} from "rxjs/Rx";
/**
 * Created by Administrator on 2016/8/5.
 */

@Injectable()
export class FaqService{

    private http:Http;

    constructor(http:Http){
        this.http=http;
    }

    findAll():Observable<Response>{
        let url = "http://localhost:8888/mybootshop/faq/list.action";
        return this.http.request(url);
    }

}
